package org.xg.study.pd.test;

import org.junit.Test;
import org.xg.study.pd.SSOInterceptor;

/**
 * @author CMG
 * @version 1.0
 * @description
 * @cLassName ApiTest9_00
 * @date 2021/9/15 10:54
 **/
public class ApiTest9_00 {

    @Test
    public void test_sso(){
        SSOInterceptor ssoInterceptor = new SSOInterceptor();
        String request = "1successhuahua";
        boolean success = ssoInterceptor.preHandle(request,"ewcdqwt40liuiu","t");
        System.out.println("登录校验：" + request +(success ? " 放行" : " 拦截"));
    }
}
